﻿using System.Threading.Tasks;
using WebApiClient;
using WebApiClient.Attributes;

namespace JNPF.Basics.Logic.WebApiClients
{
    /// <summary>
    /// Saas管理
    /// </summary>
    [TraceFilter]
    public interface ISaasApi : IHttpApi
    {
        /// <summary>
        /// 获取租户数据库
        /// </summary>
        /// <param name="enCode">租户号</param>
        /// <returns></returns>
        [HttpGet("api/Saas/Tenant/DbContent")]
        Task<string> GetTenantDbName(string enCode);
    }
}
